package com.vvv.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.vvv.model.dto.UserDTO;
import com.vvv.model.entity.User;
import com.vvv.model.vo.LoginUserVo;

import javax.servlet.http.HttpServletRequest;

/**
* @author v
* @description 针对表【user(用户)】的数据库操作Service
* @createDate 2023-12-08 08:59:26
*/
public interface UserService extends IService<User> {

    LoginUserVo login(String userAccount, String userPassword, HttpServletRequest request);

    long register(String userAccount, String userPassword);

    User getLoginUser(HttpServletRequest request);

}
